#ifndef _MPU6050D_H_
#define _MPU6050D_H_

extern float *pfAccel, *pfGyro, *pfMag, *pfEulers, *pfQuaternion;
extern tMPU6050 g_sMPU6050Inst;

#define MPU6050_I2C_ADDRESS     0x68

extern uint32_t g_pui32Colors[3];
extern tI2CMInstance g_sI2CInst;
extern volatile uint_fast8_t g_vui8I2CDoneFlag;
extern volatile uint_fast8_t g_vui8ErrorFlag;
extern volatile uint_fast8_t g_vui8DataFlag;

void MPU6050_Read(void);
void MPU6050_Dataanl(void);
void MPU6050AppCallback(void *pvCallbackData, uint_fast8_t ui8Status);
void MPU6050AppI2CWait(char *pcFilename, uint_fast32_t ui32Line);
void MPU6050AppErrorHandler(char *pcFilename, uint_fast32_t ui32Line);
#endif
